import request from '@/utils/request'

// 获取验证码
export function getCaptcha() {
  return request({
    url: '/common/v1/captchaImage',
    method: 'get'
  })
}

// 获取公共词典下，所有的下拉列表数据
export function getSelectList(dictType) {
  return request({
    url: `common/v1/adminDict`,
    method: 'get',
    params: {
      dictType: dictType
    }
  })
}
// 查询区域下拉框
export function areaList() {
  return request({
    url: '/common/v1/areaList',
    method: 'get',
  })
}
